package com.hengxinguotong.hxgtwygsp.ui.base;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.WindowManager;

import com.hengxinguotong.hxgtwygsp.R;

/**
 * TODO
 *
 * @author hjz
 * @version V1.0.0
 * @since 2019/3/28 15:39
 */

public abstract class BaseDialogActivity extends BaseActivity
{
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        WindowManager.LayoutParams params = getWindow().getAttributes();
        int dimen = getResources().getDimensionPixelSize(R.dimen.px_1);
        params.width = dimen * 1800;
        params.height = dimen * 960;
        getWindow().setAttributes(params);
    }
}
